package com.shijie.feign.config;

import feign.Retryer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class OpenfeignConfig {

    @Bean
    public Retryer openfeignRetryer() {
        return Retryer.NEVER_RETRY;
    }

}
